using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Win32;

namespace System {
	public class Settings {
		public RegistryKey key;
		public Settings(string skey) {
			key=Registry.CurrentUser.OpenSubKey("software\\system\\"+skey,true);
		}
		public object GetValue(string name) {
			return key.GetValue(name);
		}
		public string GetString(string name) {
			return key.GetValue(name) as string;
		}


		public string this[string name] {
			get {
				string ret=key.GetValue(name) as string;
				return ret;
			}
		}

	}
}
